package com.example.springboot011problemdetail.pojo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @description: TODO
 * @author: uu
 * @data: 2023/7/8 下午 02:29
 * @version: v1.0
 */

@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "product")
public class BookContainer {
    private List<Book> books;
}
